package cn.edu.scau.cmi.hexiaoqing.composite.consistent;


public class Personal implements ConsistentComponent {

	private String name;

	public Personal(String name) 
	{
		this.name = name;
	}
	@Override
	public String getInf() {
		return "I'm  " + name + "!";
	}
	@Override
	public void add(ConsistentComponent child) {
	}

	@Override
	public void remove(ConsistentComponent child) {
	}
}
